<template>
  <div class="header">
    <router-link to="/">
      <div class="header-left iconfont">&#xe618;</div>
    </router-link>城市选择
  </div>
</template>

<script>
export default {
  name: "CityHeader",
  props: {
    city: {
      type: String,
      default: ""
    }
  }
};
</script>
<style lang="stylus" scoped>
@import '~styles/varibles.styl';

.header {
  position: relative;
  overflow: hidden;
  line-height: $headerHeight;
  height: $headerHeight;
  background: $bgColor;
  color: #fff;
  font-size: 0.32rem;

  .header-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 0.64rem;
    float: left;
    color: #fff
  }
}
</style>